package cz.fimuni.pa165.backendapi.dto;

import java.sql.Date;

/**
 *
 * @author Michal
 */
public class EmployeeDTO {

    private Long id;
    private String name;
    private String surname;
    private Date birthDate;
    private String username;
    private String authority;
    private boolean enabled;
    private String password;
    private CompanyDTO companyDTO;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSurname() {
        return surname;
    }

    public void setSurname(String surname) {
        this.surname = surname;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }
    
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
    public CompanyDTO getCompany() {
        return companyDTO;
    }

    public void setCompany(CompanyDTO company) {
        this.companyDTO = company;
    }
}
